GUI Ripping: Reverse Engineering of Graphical User Interfaces for Testing

نویسندگان

  • Atif M. Memon
  • Ishan Banerjee
  • Adithya Nagarajan
چکیده

Graphical user interfaces (GUIs) are important parts of today’s software and their correct execution is required to ensure the correctness of the overall software. A popular technique to detect defects in GUIs is to test them by executing test cases and checking the execution results. Test cases may either be created manually or generated automatically from a model of the GUI. While manual testing is unacceptably slow for many applications, our experience with GUI testing has shown that creating a model that can be used for automated test case generation is difficult. We describe a new approach to reverse engineer a model represented as structures called a GUI forest, event-flow graphs and an integration tree directly from the executable GUI. We describe “GUI Ripping”, a dynamic process in which the software’s GUI is automatically “traversed” by opening all its windows and extracting all their widgets (GUI objects), properties, and values. The extracted information is then verified by the test designer and used to automatically generate test cases. We present algorithms for the ripping process and describe their implementation in a tool suite that operates on Java and Microsoft Windows’ GUIs. We present results of case studies which show that our approach requires very little human intervention and is especially useful for regression testing of software that is modified frequently. We have successfully used the “GUI Ripper” in several large experiments and have made it available as a downloadable tool.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Dynamic Reverse Engineering of Graphical User Interfaces

This paper presents a dynamic reverse engineering approach and a tool, ReGUI, developed to reduce the effort of obtaining models of the structure and behaviour of a software applications Graphical User Interface (GUI). It describes, in more detail, the architecture of the REGUI tool, the process followed to extract information and the different types of models produced to represent such informa...

متن کامل

From Graphical User Interface to Domain Class Diagram: a Reverse Engineering Approach

The Graphical User Interfaces (GUIs) of software products are extensively used by researchers and practitioners in Software Engineering field. For Example, they are used for testing, measuring usability, and many other purposes. This paper describes a new reverse engineering approach to transform the GUI into class diagram. However, the correctness of such transformation process is essential fo...

متن کامل

An event-flow model of GUI-based applications for testing

Graphical user interfaces (GUIs) are by far the most popular means used to interact with today’s software. The functional correctness of a GUI is required to ensure the safety, robustness and usability of an entire software system. GUI testing techniques used in practice are resource intensive; model-based automated techniques are rarely employed. A key reason for reluctance in adoption of mode...

متن کامل

A Comparison of GUI and VUI Testing

Software testing is a critical step in the software development lifecycle, and it is equally important to evaluate the graphical user interface of an application. While there are many testing techniques used in testing graphical user interfaces, the number of techniques and studies for voice user interface testing is minimal. This paper presents an overview of selected techniques used in graphi...

متن کامل

Generating Event Sequence-Based Test Cases Using

4 Graphical user interfaces (GUIs) are the sole mode of interaction between end-users and 5 back-end code for almost all of today’s software applications. Because of this strategic role 6 of GUIs, their quality has become important. During GUI testing, test cases—modeled as se7 quences of user events—sample the vast input space of all possible sequences with the goal 8 of detecting faults; for ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003